package com.Web.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

public class User {
    @TableId(type = IdType.AUTO)  //表示id自增
    private int id;
    private String userName;
    private String userPassword;
    private String userPhone;
    private String userSex;
    private String userFavor;
    private String userProvince; //省份
    private String userMarket;//市


    public User(int id, String userName, String userPassword, String userPhone, String userSex, String userFavor, String userProvince, String userMarket) {
        this.id = id;
        this.userName = userName;
        this.userPassword = userPassword;
        this.userPhone = userPhone;
        this.userSex = userSex;
        this.userFavor = userFavor;
        this.userProvince = userProvince;
        this.userMarket = userMarket;
    }
    public User() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    public String getUserFavor() {
        return userFavor;
    }

    public void setUserFavor(String userFavor) {
        this.userFavor = userFavor;
    }

    public String getUserProvince() {
        return userProvince;
    }

    public void setUserProvince(String userProvince) {
        this.userProvince = userProvince;
    }

    public String getUserMarket() {
        return userMarket;
    }

    public void setUserMarket(String userMarket) {
        this.userMarket = userMarket;
    }
}
